{eval
    $_HEAD[title] = $header_title = "分类信息列表";
}
{include mobile_template('header')}
<link rel="stylesheet" href="{URLROOT}/{$_G[tplurl_mobile]}/css/fenlei.css" />
<div class="panel-comm panel-default panel-fullsize">
    <div class="panel-heading">
        <div class="fr">
            <a href="javascript:;" id="filter_btn">
                <span class="label-comm label-mycolor label-big">筛选</span>
            </a>
        </div>
        {print implode('&nbsp;&gt;&nbsp;', $urlpath)}
    </div>
</div>
<div class="list-group list-group-insertmod" id="data_container">
    <!--{if $tops}-->
        <!--{eval $fenlei_list =& $tops;$nopage=true;}-->
        <!--{eval include mobile_template('fenlei_list_li')}-->
    <!--{/if}-->
    <!--{eval $fenlei_list =& $list;$nopage=false;}-->
    {eval include mobile_template('fenlei_list_li')}
</div>
<div id="page_container" class="mb10"></div>
<div class="panel-comm pabel-default panel-fullsize" id="filter_box">
    <div class="panel-body">
        <div class="form-box">
            <form action="{print url('fenlei/mobile','',0,1)}" method="GET">
                <input type="hidden" name="act" value="mobile">
                <input type="hidden" name="do" value="list">
                <div class="form-item">
                    <label for="aid">地区:</label>
                    <select name="aid" id="aid">
                        <option value="0" selected="selected" disabled>==选择地区==</option>
                        <!--{print form_area($_CITY[aid],$aid)}-->
                    </select>
                    <div class="clear"></div>
                </div>
                <div class="form-item">
                    <label for="catid">分类:</label>
                    <select name="catid" id="catid">
                        <option value="0" selected="selected" disabled>==选择分类==</option>
                        <!--{get:fenlei val=category(pid/0)}-->
                        <option value="$val[catid]"{if $catid==$val[catid]} selected{/if}>$val[name]</option>
                            <!--{get:fenlei _val=category(pid/$val[catid])}-->
                            <option value="$_val[catid]"{if $catid==$_val[catid]} selected{/if}>&nbsp;&nbsp;└$_val[name]</option>
                            <!--{/get}-->
                        <!--{/get}-->
                    </select>
                    <div class="clear"></div>
                </div>
                <div class="form-item">
                    <label for="keyword">关键字:</label>
                    <input type="text" name="keyword" id="keyword" class="input search" x-webkit-speech="x-webkit-speech">
                </div>
                <div class="form-submit">
                    <div class="btn-group-vertical btn-group-mt10 full-width">
                        <button type="submit" name="dosubmit" class="btn btn-mycolor">提交</button>
                        <button type="button" class="btn btn-default" data-type="close">关闭</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script>
$(document).ready(function() {
    new $.m_drawer('#filter_box', {}, {
        onInit:function(container, workArea) {
            $('#filter_btn').click(function() {
                container.open();
            });
        }
    });
    $('#page_container').m_ajaxpage({
        container:'#data_container'
    });
});
</script>
{include mobile_template('footer')}